package com.foreverwin.mes.production.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.foreverwin.mes.production.dto.MaterialRequisitionDto;
import com.foreverwin.mes.production.model.MaterialRequisitionSummary;
import com.baomidou.mybatisplus.service.IService;
import com.foreverwin.mes.core.base.FrontPage;
import com.foreverwin.mes.production.vo.ShopOrderTaskVo;

import java.util.List;

/**
 * <p>
 * 领料汇总 服务类
 * </p>
 *
 * @author Ervin Chen
 * @since 2020-02-24
 */
public interface MaterialRequisitionSummaryService extends IService<MaterialRequisitionSummary> {

    /**
     *  分页查询
     * @param frontPage
     * @return
     */
    Page<MaterialRequisitionSummary> selectPage(FrontPage<MaterialRequisitionSummary> frontPage, MaterialRequisitionSummary materialRequisitionSummary);

    List<MaterialRequisitionSummary> selectList(MaterialRequisitionSummary materialRequisitionSummary);

    List<ShopOrderTaskVo> selectShopOrderTaskList();

    List<MaterialRequisitionDto> selectMaterialRequisitionList(List<MaterialRequisitionDto> materialRequisitionDtos);
}